package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2025-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TProdInput对象", description="生产入库表")
public class TProdInput implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "生产计划id")
    private Integer pid;

    @ApiModelProperty(value = "部门代号")
    private Integer oid;

    @ApiModelProperty(value = "产品编码")
    private String bn;

    @ApiModelProperty(value = "名称")
    private String na;

    @ApiModelProperty(value = "型号规格")
    private String size;

    @ApiModelProperty(value = "产品备注")
    private String remark;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "入库数量")
    private Double inqt;

    @ApiModelProperty(value = "入库金额(领料金额+制造费用)")
    private Double amount;

    @ApiModelProperty(value = "仓库代码")
    private String store;

    @ApiModelProperty(value = "仓位代码")
    private String space;

    @ApiModelProperty(value = "入库时间")
    private Date indate;

    @ApiModelProperty(value = "录入人guid")
    private Long guid;


}
